package www.geek.filemanager.bean;

import android.graphics.drawable.Drawable;

/**
 * description	: 应用信息
 *
 * @author : zhanggeng
 * @version : v1.0
 *          ----------修订历史-----------
 * @date : 15/8/5
 */
public class AppInfo {

    //应用名字
    private String appName;
    //应用版本信息
    private String appVersion;
    //应用是否自启动
    private boolean appStartSelf;
    //应用是否正在运行
    private boolean isRunning;
    //应用图标
    private Drawable appIcon;
    //应用包名
    private String packageName;
    //应用安装位置是在 Rom，还是SDCard.
    private boolean inRom;
    //应用是系统程序，还是用户安装的。
    private boolean isUserApp;

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getAppVersion() {
        return appVersion;
    }

    public void setAppVersion(String appVersion) {
        this.appVersion = appVersion;
    }

    public boolean isAppStartSelf() {
        return appStartSelf;
    }

    public void setAppStartSelf(boolean appStartSelf) {
        this.appStartSelf = appStartSelf;
    }

    public boolean isRunning() {
        return isRunning;
    }

    public void setIsRunning(boolean isRunning) {
        this.isRunning = isRunning;
    }

    public Drawable getAppIcon() {
        return appIcon;
    }

    public void setAppIcon(Drawable appIcon) {
        this.appIcon = appIcon;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public boolean isInRom() {
        return inRom;
    }

    public void setInRom(boolean inRom) {
        this.inRom = inRom;
    }

    public boolean isUserApp() {
        return isUserApp;
    }

    public void setIsUserApp(boolean isUserApp) {
        this.isUserApp = isUserApp;
    }


    @Override
    public String toString() {
        return "AppInfo{" +
                "appName='" + appName + '\'' +
                ", appVersion='" + appVersion + '\'' +
                ", appStartSelf=" + appStartSelf +
                ", isRunning=" + isRunning +
                ", appIcon=" + appIcon +
                ", packageName='" + packageName + '\'' +
                ", inRom=" + inRom +
                ", isUserApp=" + isUserApp +
                '}';
    }
}
